![]() |
FrameRoundRect |
||||
Header: | Quickdraw.h | Carbon status: | Supported | |
Draws an outline inside a rounded rectangle.
void FrameRoundRect ( const Rect *r, SInt16 ovalWidth, SInt16 ovalHeight );
The rectangle that defines the rounded rectangle’s boundaries.
The width of the oval defining the rounded corner.
The height of the oval defining the rounded corner.
Using the pattern, pattern mode, and size of the graphics pen for the current graphics port, the FrameRoundRect function draws an outline just inside the rounded rectangle bounded by the rectangle that you specify in the r parameter. The outline is as wide as the pen width and as tall as the pen height. The pen location does not change.
Use the ovalWidth and ovalHeight parameters to specify the diameters of curvature for the corners of the rounded rectangle.
If a region is open and being formed, the outside outline of the new rounded rectangle is mathematically added to the region’s boundary.
The FrameRoundRect function may move or purge memory blocks in the application heap; do not call this function at interrupt time.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)